package com.service;

import java.util.List;


import com.entity.Admins;
import com.entity.Page;
import com.entity.Pets;
import com.entity.User;

public interface PetsService {
	public Page<Pets> PetsPage(int pageNum);
	public List<Pets> findPetsByPage(int pageName, int pageSize);
	public void updatePets(Pets p);
	public Pets findPetsById(int id);
	public List<Pets> findAll();
	//扣除用户余额
	public int subPrice(int id,int account);
	public Pets select(int id);

	public User user(int id);
	public Admins admin(int id);
	public void updateAdmin(Admins admin);
}
